package com.ldc.composetest;


import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import com.alibaba.android.arouter.facade.annotation.Route
import com.ldc.commonlibs.conf.RouteConf
import com.ldc.composetest.screen.article_screen.ArticleListScreen

@Route(path = RouteConf.ComposeRoute.startEnter)
class ComposeMainActivity : ComponentActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContent {
            ArticleListScreen(onFinish = {
                finish()
            })
        }
    }
}
